package com.chenfan.mcn.model.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chenfan.mcn.model.DiscountApproval;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 2062
 */
@Data
public class DiscountHistoryDTO {

    @Excel(name = "id")
    private Long id;

    @Excel(name = "折扣返点审批单编号")
    private String code;

    @Excel(name = "创建人", replace = {"刘永晶_田羽晨", "王玉霞_赵敏"})
    private String createBy;

    @Excel(name = "创建日期")
    private Date createDate;

    @Excel(name = "修改人", replace = {"刘永晶_田羽晨", "王玉霞_赵敏"})
    private String updateBy;

    @Excel(name = "修改日期")
    private Date updateDate;

    @Excel(name = "审批状态", replace = {"待提交_0", "审批中_0", "审批通过_2", "审批拒绝_3", "撤回_4"})
    private Integer statusName;

    @Excel(name = "是否年框", replace = {"是_true", "否_false"})
    private Boolean year;

    @Excel(name = "返点类型", replace = {"对公返点_corporate-banking", "_corporate-banking", "无返点_corporate-banking", "对私返点_personal"})
    private String rebateType;

    @Excel(name = "合同主体", replace = {"杭州宸帆电子商务有限责任公司_hzcfdzswyxzrgs", "宁波宸帆网络技术有限公司_nbcfwljsyxgs", "杭州凡周文化传媒有限公司_hzfzwhcmyxgs", "杭州辰范网络科技有限公司_hzcfwlkjyxgs", "杭州宸帆娱乐有限公司_hzcfylyxgs", "其他_other"})
    private String contractSubject;

    @Excel(name = "申请描述")
    private String description;

    @Excel(name = "折扣比例")
    private Double discountRate;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "最高返点比例")
    private Double rebateRate;

    @Excel(name = "客户")
    private String customer;

    @Excel(name = "合同金额")
    private Double price;

    @Excel(name = "最高优惠比例")
    private Double discount;


}


